package org.jeecg.modules.AccessoriesCenter.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.AccessoriesCenter.entity.LibuDaochuEntity;
import org.jeecg.modules.AccessoriesCenter.entity.LibuEntity;

import java.util.List;

public interface LibuManageService {
    IPage<LibuEntity> getLibuList(Page<LibuEntity> page,Integer status, String libuCode);

    int updateLibustatus(int id, int status);

    //查询里布编号是否已经存在
    String getlibucodebylibucode(String libuCode);

    int addLibu(LibuEntity entity);

    LibuEntity getLibubyId(int id);

    int updateLibu(LibuEntity entity);

    void piliangUpdatestatus(List<Integer> ids, int status);

    List<LibuDaochuEntity> getLibuDaochulist(Integer status, String libuCode);

    int importExcel(List<LibuDaochuEntity> list);
}
